package org.jeecg.modules.flow.sys.enumx;/*
 * 项目名称:    wms-server-jeecg
 * 接口描述:    失败的类型
 * 创建人员:    zhaojun
 * 创建时间:    2023-10-13
 */

public enum FlowFailTypeEnum {

    // 失败的类型 no不失败,init初始化失败,before 回调前失败
    NO("no", "不失败"),
    INIT("init", "初始化失败"),
    BEFORE("before", "回调前失败");

    private String code;
    private String msg;

    FlowFailTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
